package com.atldy.commerce.vo;

import com.atldy.commerce.enums.AsyncTaskStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @version 1.0
 * @Author: lidongyang
 * @CreateTime: 2021-08-18 20:59
 * @Description： 异步任务执行信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AsyncTaskInfo {

    /**
     * 异步任务id
     */
    private String taskId;

    /**异步任务1状态*/
    private AsyncTaskStatus status;

    /**
     * 异步任务开始时间
     */
    private Date startTime;

    /**
     * 异步任务结束时间
     */
    private Date endTime;

    /**
     * 异步任务总耗时
     */
    private String totalTime;


}